package com.dfrz.ch09.task;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/20 9:45
 * 描述:
 */
class Test3 {
	public static void main(String[] strs) {
		Circle circle = new Circle();
		double area = circle.area();
		double length = circle.girth();
		System.out.println(area);
		System.out.println(length);

		circle.setR(10);
		area = circle.area();
		length = circle.girth();
		System.out.println(area);
		System.out.println(length);

	}
}
